package com.atguigu.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "gulimall.thread.pool")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreSize;//核心线程数
    private Integer maxSize;//最大线程数
    private Integer keepAliveTime;//空闲时间
}
